<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<th:block th:include="common/common::common('新增角色')"/>
<script src="/static/base/role/add.js" charset="utf-8"></script>
</head>
<body>

<form class="layui-form layui-form-pane" id="addBaseRoleForm">
    <div class="layui-form-body">
        <div class="layui-form-item">
            <label class="layui-form-label">角色名称<span class="required">*</span></label>
            <div class="layui-input-block">
                <input type="text" id="name" name="name" lay-verify="required"
                       autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label" style="margin-bottom: 0;">描述</label>
            <div class="layui-input-block">
                    <textarea id="remark" name="remark"
                              maxlength="200" autocomplete="off"
                              class="layui-textarea"></textarea>
            </div>
        </div>
    </div>
    <div class="form-footer">
        <button type="button" class="button-sub" lay-submit lay-filter="saveBaseRole">提交</button>
        <button type="button" class="button-close" id="buttonClose">关闭</button>
    </div>
</form>
</body>
</html>